//
//  AppManager.h
//  TooToo
//  管理app的单例
//  Created by liuning on 15/8/18.
//  Copyright (c) 2015年 MoHao. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^StopBackgroudBlock)(void);

@interface AppManager : NSObject

+(instancetype)sharedManager;

@property (nonatomic,strong) NSString * curIdentityId;
//控制是否后台运行
@property (assign, nonatomic) BOOL needPlayBackgroud;
//程序是否处于激活状态
@property (assign,nonatomic) BOOL isActive;
@property (strong,nonatomic) StopBackgroudBlock stopBg;
@property (assign,nonatomic,readonly) BOOL isFirstLaunch;

////判断是否显示引导屏
//-(BOOL)checkWhetherShowGuideView;
//-(void)showGuideViewOnView:(UIView *)view;

@end
